---
title: oras manifest delete
sidebar_position: 110
warning: Do NOT modify this generated file
---

# oras manifest delete

Delete a manifest from remote registry

```bash
oras manifest delete [flags] <name>{:<tag>|@<digest>}
```

## Examples

Delete a manifest tagged with 'v1' from repository 'localhost:5000/hello':

```bash
oras manifest delete localhost:5000/hello:v1
```

Delete a manifest without prompting confirmation:

```bash
oras manifest delete --force localhost:5000/hello:v1
```

Delete a manifest and print its descriptor:

```bash
oras manifest delete --descriptor localhost:5000/hello:v1
```

Delete a manifest by digest 'sha256:99e4703fbf30916f549cd6bfa9cdbab614b5392fbe64fdee971359a77073cdf9' from repository 'localhost:5000/hello':

```bash
oras manifest delete localhost:5000/hello@sha:99e4703fbf30916f549cd6bfa9cdbab614b5392fbe64fdee971359a77073cdf9
```

## Options

```
      --ca-file string                             server certificate authority file for the remote registry
      --cert-file string                           client certificate file for the remote registry
  -d, --debug                                      output debug logs (implies --no-tty)
      --descriptor                                 output the descriptor
      --distribution-spec string                   [Preview] set OCI distribution spec version and API option for target. Options: v1.1-referrers-tag, v1.1-referrers-api
  -f, --force                                      ignore nonexistent references, never prompt
  -H, --header stringArray                         add custom headers to requests
  -h, --help                                       help for delete
      --identity-token string                      registry identity token
      --identity-token-stdin                       read identity token from stdin
      --insecure                                   allow connections to SSL registry without certs
      --key-file string                            client private key file for the remote registry
      --oci-layout                                 set target as an OCI image layout
      --oci-layout-path string                     [Experimental] set the path for the OCI image layout target
  -p, --password string                            registry password or identity token
      --password-stdin                             read password from stdin
      --plain-http                                 allow insecure connections to registry without SSL check
      --pretty                                     prettify JSON objects printed to stdout
      --registry-config path                       path of the authentication file for registry
      --resolve host:port:address[:address_port]   customized DNS for registry, formatted in host:port:address[:address_port]
  -u, --username string                            registry username
```
